package backend.project.gym_management.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class PaymentRecordUpdateDTO extends AdminUpdate {
    @ApiModelProperty("支付ID")
    @NotNull(message = "支付ID不能为空")
    private Long payment_id;

    @ApiModelProperty("订单ID")
    private Long orderid;

    @ApiModelProperty("支付时间")
    private String pay_time;

    @ApiModelProperty("支付金额")
    private Double amount;

    @ApiModelProperty("支付方式")
    private String method; // 支付宝 / 微信 / 银行卡
}
